<?php
if(!defined('GbIncl2')){?>
<meta http-equiv="refresh" content="0;url=block.php" />
<?php }else{ 
//$_GET['set']=isset($_GET['set']) ? $_GET['set'] :'';
?>

            <div class="section">
                <div class="section-content">
                    <h3 class="section-title"><b>PENGATURAN</b></h3>
                        <ul class="nice-list">
			<?php $AKSES=mysql_query("select * from JABATAN_SPM where ID_JABS='$_SESSION[ID_JABS]'");
                        while ($HAKAKSES=mysql_fetch_array($AKSES)){?><?php if ($HAKAKSES['ID_JABS']=='JS000'){?>    <h3 class="section-title"><b>AREA ADMINISTRATOR</b></h3>
                            <li><?php $_SESSION['LOGO']='1'; 
                            if ($_GET['setting']=='logo'){ echo "<a href=../cpanel/?setting=logo><b><p>LOGO</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=logo>LOGO</a>";}?></li>
                            <li><?php $_SESSION['TENTANG']='1';
                            if ($_GET['setting']=='tentang'){ echo "<a href=../cpanel/?setting=tentang><b><p>TENTANG</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=tentang>TENTANG</a>";}?></li>
                            <li><?php $_SESSION['JURUSAN']='1'; 
                            if ($_GET['setting']=='jurusan'){ echo "<a href=../cpanel/?setting=jurusan><b><p>JURUSAN</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=jurusan>JURUSAN</a>";}?></li>
                            <li><?php $_SESSION['JABATAN']='1';
                            if ($_GET['setting']=='jabatan'){ echo "<a href=../cpanel/?setting=jabatan><b><p>JABATAN</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=jabatan>JABATAN</a>";}?></li>
                            <li><?php $_SESSION['PENGGUNA']='1';
                            if ($_GET['setting']=='pengguna'){ echo "<a href=../cpanel/?setting=pengguna><b><p>PENGGUNA</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=pengguna>PENGGUNA</a>";}?></li>
                            <li><?php $_SESSION['DKBT']='1'; 
                            if ($_GET['setting']=='dkbt'){ echo "<a href=../cpanel/?setting=dkbt><b><p>DKBT</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=dkbt>DKBT</a>";}?></li>
                            <li><?php $_SESSION['BERITA']='1'; 
                            if ($_GET['setting']=='berita'){ echo "<a href=../cpanel/?setting=berita><b><p>BERITA</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=berita>BERITA</a>";}?></li>
                            <li><?php $_SESSION['AUDIT']='1'; 
                            if ($_GET['setting']=='audit'){ echo "<a href=../cpanel/?setting=audit><b><p>AUDIT</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=audit>AUDIT</a>";}?></li>
                            <li><?php $_SESSION['DOKUMENTASI']='1';
                            if ($_GET['setting']=='dokumentasi'){ echo "<a href=../cpanel/?setting=dokumentasi><b><p>DOKUMENTASI</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=dokumentasi>DOKUMENTASI</a>";}?></li>
                            <li><?php $_SESSION['P2AI']='1';
                            if ($_GET['setting']=='p2ai'){ echo "<a href=../cpanel/?setting=p2ai><b><p>P2AI</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=p2ai>P2AI</a>";}?></li>
                            <li><?php $_SESSION['MONEV']='1';
                            if ($_GET['setting']=='monev'){ echo "<a href=../cpanel/?setting=monev><b><p>MONEV</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=monev>MONEV</a>";}?></li>
                            <li><?php $_SESSION['POLLING']='1';
                            if ($_GET['setting']=='polling'){ echo "<a href=../cpanel/?setting=polling><b><p>POLLING</p></b></a>";
                            }else{ 	echo "<a href=../cpanel/?setting=polling>POLLING</a>";}?></li>
                        <?php }?>	
                        <?php $_SESSION['AKUN']=$HAKAKSES['AKUN_JS'];?>    <h3 class="section-title"><b>AREA PENGGUNA</b></h3>
			    <?php if ($HAKAKSES['AKUN_JS']=='1' AND $_GET['setting']=='akun'){?><?php echo "<li><a href=../cpanel/?setting=akun><b><p>AKUN</p></b></a></li>";?><?php }else{?><?php echo "<li><a href=../cpanel/?setting=akun>AKUN</a></li>";}?><?php }?>
				
			    <li class="hus-sub" title="Kembali Ke Halaman Utama"><?php echo "<a href=../><b>KEMBALI</b></a>";?></li>
                        </ul>
                </div>
            </div>
<?php }?>
	<?php
/*

*/
?>